package com.ch.entity;


import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter

public class User {

    private int id;
    private String userName;
    private String pwd;
    private int type;

    public User(String userName, String pwd, int type) {
        this.userName = userName;
        this.pwd = pwd;
        this.type = type;
    }
    public User(String userName, String pwd) {
        this.userName = userName;
        this.pwd = pwd;
    }
}
